package com.whq.thrift.api.web.admin.service.verify;

import java.util.List;
import java.util.Map;

import com.whq.thrift.api.web.admin.db.methodinfo.MethodInfo;

public interface MethodInfoService {
	public void addMethod(MethodInfo method);

	public List<MethodInfo> findMethodsByMap(Map<String, Object> whereParams, int beginIndex, int maxCount);

	public void updateMethod(MethodInfo method);

	public void deleteMethod(int id);

	public int findMethodsCount(Map<String, Object> whereParams);

	public MethodInfo getMethodByName(String name);
	
//	public MethodInfo getMethodByIdentity(String identity);
	
//	public int getMethodCountByIdentity(String identity,int id);
	
	public MethodInfo getMethodById(int id);
	
	public List<MethodInfo> getAllMethodInfo();
	
	public List<MethodInfo> findApiInfoList(Map<String, Object> whereParams);
	
}
